import request from '@/utils/request'

// 查询样衣申请财务报列表
export function listOdsSampleTalentApplyFinancial(query) {
  return request({
    url: '/product/OdsSampleTalentApplyFinancial/list',
    method: 'get',
    params: query
  })
}
export function selectDataAll(query) {
  return request({
    url: '/product/OdsSampleTalentApplyFinancial/selectDataAll',
    method: 'get',
    params: query
  })
}
export function selectDataList(query) {
  return request({
    url: '/product/OdsSampleTalentApplyFinancial/selectDataList',
    method: 'get',
    params: query
  })
}
export function selectSampleTalentApplyVOList(query) {
  return request({
    url: '/product/OdsSampleTalentApplyFinancial/selectSampleTalentApplyVOList',
    method: 'get',
    params: query
  })
}
export function selectDeliveryDurationData(query) {
  return request({
    url: '/product/OdsSampleTalentApplyFinancial/selectDeliveryDurationData',
    method: 'get',
    params: query
  })
}
// 查询样衣申请财务报详细
export function getOdsSampleTalentApplyFinancial(id) {
  return request({
    url: '/product/OdsSampleTalentApplyFinancial/' + id,
    method: 'get'
  })
}

// 新增样衣申请财务报
export function addOdsSampleTalentApplyFinancial(data) {
  return request({
    url: '/product/OdsSampleTalentApplyFinancial',
    method: 'post',
    data: data
  })
}

// 修改样衣申请财务报
export function updateOdsSampleTalentApplyFinancial(data) {
  return request({
    url: '/product/OdsSampleTalentApplyFinancial',
    method: 'put',
    data: data
  })
}

// 删除样衣申请财务报
export function delOdsSampleTalentApplyFinancial(id) {
  return request({
    url: '/product/OdsSampleTalentApplyFinancial/' + id,
    method: 'delete'
  })
}
